home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000100_O.Flebbe@scien…ni-tuebingen.de_Tue Dec 27 18:19:42 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  3KB

  1. Received: from orion.science-computing.uni-tuebingen.de by cs.umb.edu with SMTP id AA07007
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 27 Dec 1994 11:19:48 -0500
  3. Received: by orion.science-computing.uni-tuebingen.de (920330.SGI/920502.SGI)
  4.     for tex-k@cs.umb.edu id AA00578; Tue, 27 Dec 94 17:19:42 +0100
  5. From: O.Flebbe@science-computing.uni-tuebingen.de (Olaf Flebbe)
  6. Message-Id: <9412271619.AA00578@orion.science-computing.uni-tuebingen.de>
  7. Subject: xdvik-18e patches
  8. To: tex-k@cs.umb.edu
  9. Date: Tue, 27 Dec 1994 17:19:42 +0100 (MEZ)
  10. X-Mailer: ELM [version 2.4 PL20]
  11. Content-Type: text
  12. Content-Length: 2634      
  13.  
  14. Hi,
  15.  
  16. here are a couple of patches I needed to compile/run xdvi-18e on various
  17. platforms.
  18.  
  19. cheers
  20.    olaf
  21. ====================================================================
  22. xdvik-18e:
  23.   compiled  --with-ps=gs error from gs-3.12 (aladin ghostscript) gives
  24.   error message: gs: Malformed ghostview color property.
  25.  
  26.   workaround, comment the GHOSTVIEW_COLORS property settings in psgs.c
  27.  
  28. *** psgs.c~    Tue Dec 27 16:05:21 1994
  29. --- psgs.c    Tue Dec 27 16:05:45 1994
  30. ***************
  31. *** 131,137 ****
  32.   static    Boolean        GS_pending_int;    /* if interrupt rec'd while in send() */
  33.   
  34.   static    Atom    gs_atom;
  35. - static    Atom    gs_colors_atom;
  36.   #define    XtPageOrientationPortrait 0
  37.   
  38.   /*
  39. --- 131,136 ----
  40. ***************
  41. *** 536,545 ****
  42.       XChangeProperty(DISP, mane.win, gs_atom, XA_STRING, 8,
  43.           PropModeReplace, (unsigned char *) buf, strlen(buf));
  44.   
  45. -     gs_colors_atom = XInternAtom(DISP, "GHOSTVIEW_COLORS", False);
  46. -     Sprintf(buf, "%s %ld %ld", "Color", fore_Pixel, back_Pixel);
  47. -     XChangeProperty(DISP, mane.win, gs_colors_atom, XA_STRING, 8,
  48. -         PropModeReplace, (unsigned char *) buf, strlen(buf));
  49.   
  50.       XSync(DISP, False);        /* update the window */
  51.   
  52. --- 535,540 ----
  53.  
  54. ===================================================
  55.    configure --with-ps=dps does not work as documented. typo
  56.  
  57. *** configure~    Sun Dec 11 19:57:13 1994
  58. --- configure    Tue Dec 27 17:12:04 1994
  59. ***************
  60. *** 1884,1890 ****
  61.   case $withval in
  62.     yes|gs) ;;
  63.         no) PS_DEF=;;
  64. !       ps) PS_DEF=-DPS_DPS;;
  65.       news) PS_DEF=-DPS_NEWS;;
  66.          *) echo "configure: warning: Unknown --with-ps argument \`$withval'; using gs." 1>&2;;
  67.    esac
  68. --- 1884,1890 ----
  69.   case $withval in
  70.     yes|gs) ;;
  71.         no) PS_DEF=;;
  72. !       dps) PS_DEF=-DPS_DPS;;
  73.       news) PS_DEF=-DPS_NEWS;;
  74.          *) echo "configure: warning: Unknown --with-ps argument \`$withval'; using gs." 1>&2;;
  75.    esac
  76.  
  77. ==========================================================
  78.  
  79.   Display postscript does not compile on AIX (fd_set undefined)
  80.   workaround... ifdef _AIX 
  81.  
  82. *** psdps.c~    Wed Dec 21 18:10:36 1994
  83. --- psdps.c    Wed Dec 21 18:11:06 1994
  84. ***************
  85. *** 231,236 ****
  86. --- 231,239 ----
  87.   +----------------------------------------------------------------------------*/
  88.   
  89.   #ifndef    STREAMSCONN
  90. + #ifdef _AIX
  91. + #include <sys/select.h>
  92. + #endif
  93.   static    fd_set        readfds;
  94.   #define    XDVI_ISSET(a, b, c)    FD_ISSET(a, b)
  95.   #else    /* STREAMSCONN */
  96.  
  97.  
  98.  
  99. -- 
  100.   Olaf Flebbe, Dipl. Phys.                   Phone +49 (0)7071-9457-32
  101.   science + computing gmbh                     FAX +49 (0)7071-9457-27
  102.   Hagellocher Weg 71
  103.   D-72070 Tuebingen  Email: o.flebbe@science-computing.uni-tuebingen.de
  104.  
  105.